home *** CD-ROM | disk | FTP | other *** search
/ TOS Silver 2000 / TOS Silver 2000.iso / programm / GNU_C++ / SRC / GAS-291S.LZH / ReadMe < prev   
Encoding:
Text File  |  1998-11-10  |  1.4 KB  |  56 lines

  1.  
  2.  gas 2.9.1 for Atari MiNT/MagiC
  3.  ------------------------------
  4.  
  5. What do you need for recompiling gas on Atari running MiNT?
  6.  
  7.  - a MiNT system that's powerfull enough to run GNU configure scripts
  8.  - 28 MB minix hard disc space
  9.  
  10. Steps for recompiling:
  11.  
  12.  - apply the patches from diff file
  13.  
  14.  - disable the directories binutils, ld and gprof because these programs are
  15.    not ported to MiNT.
  16.        # mv binutils binutils.dis
  17.        # mv gprof gprof.dis
  18.        # mv ld ld.dis
  19.  
  20.  - run configure
  21.      1. gcc hosted on MiNT:
  22.         # configure --prefix=/usr --disable-shared 
  23.  
  24.      2. for creating a cross-as:
  25.         # configure --prefix=/usr --disable-shared --target=m68k-atari-mint 
  26.  
  27.      3. for creating MiNT-as using a cross-gcc:
  28.         # setenv CC mint-gcc
  29.         # setenv AR mint-ar
  30.         # setenv RANLIB echo
  31.         # configure --host=m68k-atari-mint --disable-shared
  32.  
  33.  - change to directory binutils-2.9.1/bfd and create bfd.h (needed by libopcodes):
  34.      # make bfd.h
  35.      
  36.  - change to directory binutils-2.9.1/opcodes and make the lib: 
  37.     # make
  38.  
  39.  - change to directory binutils-2.9.1/libiberty and make the lib: 
  40.     # make
  41.       (ignore the ranlib error)    
  42.  
  43.  - change to directory binutils-2.9.1/gas and make the new gas:
  44.      # make as-new
  45.      
  46.  - You've got it!
  47.    Before installing as.new as the assembler for gcc you may strip it for
  48.    saving disc space:
  49.     # strip -k as-new
  50.     # cp as-new /usr/m68k-atari-mint/bin/as
  51.  
  52.  
  53. Hamburg, 13.09.98,
  54. Christian Felsch
  55. felsch@tu-harburg.de
  56.